FROM centos:7.9.2009

WORKDIR /app

COPY ./myddns /app/myddns
COPY ./config.json /app/config.json

CMD ["chmod +x myddns"]
ENTRYPOINT ./myddns